package com.ygqh.baby.po;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.GroupMode;
import com.ygqh.baby.ao.GroupType;

import java.math.BigDecimal;
import java.util.Date;

public class YgGroup {
    private Long id;

    private Long supplierId;

    private String groupName;

    private Long groupCode;

    private DataStatus status;

    private GroupType groupType;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;
    private BigDecimal costPrice;

    private String extMaterial;

    private Long productNum;
    private BigDecimal promotionPrice;

    private Long groupAmount;

    private BigDecimal shareRate;

    private Boolean isReal;

    private GroupMode groupMode;
    private BigDecimal distributionPrice;
    // ============
    private BigDecimal vipRate;

    private Long categoryId;

    private String basicAttribute;
    private Integer groupDate;

    public BigDecimal getDistributionPrice() {
        return distributionPrice;
    }

    public void setDistributionPrice(BigDecimal distributionPrice) {
        this.distributionPrice = distributionPrice;
    }

    public BigDecimal getVipRate() {
        return vipRate;
    }

    public void setVipRate(BigDecimal vipRate) {
        this.vipRate = vipRate;
    }

    public GroupMode getGroupMode() {
        return groupMode;
    }

    public void setGroupMode(GroupMode groupMode) {
        this.groupMode = groupMode;
    }

    public Boolean getIsReal() {
        return isReal;
    }

    public void setIsReal(Boolean isReal) {
        this.isReal = isReal;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public Long getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(Long groupCode) {
        this.groupCode = groupCode;
    }

    public DataStatus getStatus() {
        return status;
    }

    public void setStatus(DataStatus status) {
        this.status = status;
    }

    public GroupType getGroupType() {
        return groupType;
    }

    public void setGroupType(GroupType groupType) {
        this.groupType = groupType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Long getProductNum() {
        return productNum;
    }

    public void setProductNum(Long productNum) {
        this.productNum = productNum;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public String getExtMaterial() {
        return extMaterial;
    }

    public void setExtMaterial(String extMaterial) {
        this.extMaterial = extMaterial == null ? null : extMaterial.trim();
    }

    public BigDecimal getPromotionPrice() {
        return promotionPrice;
    }

    public void setPromotionPrice(BigDecimal promotionPrice) {
        this.promotionPrice = promotionPrice;
    }

    public Long getGroupAmount() {
        return groupAmount;
    }

    public void setGroupAmount(Long groupAmount) {
        this.groupAmount = groupAmount;
    }

    public BigDecimal getShareRate() {
        return shareRate;
    }

    public void setShareRate(BigDecimal shareRate) {
        this.shareRate = shareRate;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getBasicAttribute() {
        return basicAttribute;
    }

    public void setBasicAttribute(String basicAttribute) {
        this.basicAttribute = basicAttribute;
    }

    public Integer getGroupDate() {
		return groupDate;
	}

	public void setGroupDate(Integer groupDate) {
		this.groupDate = groupDate;
	}

	@Override
    public String toString() {
        return "YgGroup [id=" + id + ", supplierId=" + supplierId + ", groupName=" + groupName + ", groupCode=" + groupCode + ", status=" + status
                + ", groupType=" + groupType + ", createTime=" + createTime + ", createBy=" + createBy + ", updateTime=" + updateTime + ", updateBy=" + updateBy
                + ", costPrice=" + costPrice + ", extMaterial=" + extMaterial + ", productNum=" + productNum + ", promotionPrice=" + promotionPrice
                + ", groupAmount=" + groupAmount + ", shareRate=" + shareRate + ", isReal=" + isReal + ", groupMode=" + groupMode + ", vipRate=" + vipRate
                + ", categoryId=" + categoryId + ", basicAttribute=" + basicAttribute + "]";
    }

}